package com.cn.ccp.webservice.impl;

import java.util.ArrayList;
import java.util.List;

public class CourseChapterObject {
	private int id;//章节id
	private String chapterNumber;
	private String chapterTitle;//章节标题
	private List<ChapterObject> chapters = new ArrayList<ChapterObject>();//直接文件内容
	private List<CourseChapterObject> child = new ArrayList<CourseChapterObject>();
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getChapterTitle() {
		return chapterTitle;
	}
	public void setChapterTitle(String chapterTitle) {
		this.chapterTitle = chapterTitle;
	}
	
	void addChapters(ChapterObject obj){
		chapters.add(obj);
	}

	void addChild(CourseChapterObject obj){
		child.add(obj);
	}
 
	public List<ChapterObject> getChapters() {
		return chapters;
	}
	public void setChapters(List<ChapterObject> chapters) {
		this.chapters = chapters;
	}
	public List<CourseChapterObject> getChild() {
		return child;
	}
	public void setChild(List<CourseChapterObject> child) {
		this.child = child;
	}
	public String getChapterNumber() {
		return chapterNumber;
	}
	public void setChapterNumber(String chapterNumber) {
		this.chapterNumber = chapterNumber;
	}
 
 
}
